home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / content / nsIXTFVisual.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  4KB  |  130 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIXTFVisual.idl
  3.  */
  4.  
  5. #ifndef __gen_nsIXTFVisual_h__
  6. #define __gen_nsIXTFVisual_h__
  7.  
  8.  
  9. #ifndef __gen_nsIXTFElement_h__
  10. #include "nsIXTFElement.h"
  11. #endif
  12.  
  13. /* For IDL files that don't want to include root IDL files. */
  14. #ifndef NS_NO_VTABLE
  15. #define NS_NO_VTABLE
  16. #endif
  17. class nsIDOMElement; /* forward declaration */
  18.  
  19.  
  20. /* starting interface:    nsIXTFVisual */
  21. #define NS_IXTFVISUAL_IID_STR "2ee5520b-6593-43c1-b660-4885939a6b68"
  22.  
  23. #define NS_IXTFVISUAL_IID \
  24.   {0x2ee5520b, 0x6593, 0x43c1, \
  25.     { 0xb6, 0x60, 0x48, 0x85, 0x93, 0x9a, 0x6b, 0x68 }}
  26.  
  27. class NS_NO_VTABLE nsIXTFVisual : public nsIXTFElement {
  28.  public: 
  29.  
  30.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IXTFVISUAL_IID)
  31.  
  32.   /* readonly attribute nsIDOMElement visualContent; */
  33.   NS_IMETHOD GetVisualContent(nsIDOMElement * *aVisualContent) = 0;
  34.  
  35.   /* readonly attribute nsIDOMElement insertionPoint; */
  36.   NS_IMETHOD GetInsertionPoint(nsIDOMElement * *aInsertionPoint) = 0;
  37.  
  38.   /* readonly attribute boolean applyDocumentStyleSheets; */
  39.   NS_IMETHOD GetApplyDocumentStyleSheets(PRBool *aApplyDocumentStyleSheets) = 0;
  40.  
  41.   enum { NOTIFY_DID_LAYOUT = 131072U };
  42.  
  43.   /* void didLayout (); */
  44.   NS_IMETHOD DidLayout(void) = 0;
  45.  
  46. };
  47.  
  48. /* Use this macro when declaring classes that implement this interface. */
  49. #define NS_DECL_NSIXTFVISUAL \
  50.   NS_IMETHOD GetVisualContent(nsIDOMElement * *aVisualContent); \
  51.   NS_IMETHOD GetInsertionPoint(nsIDOMElement * *aInsertionPoint); \
  52.   NS_IMETHOD GetApplyDocumentStyleSheets(PRBool *aApplyDocumentStyleSheets); \
  53.   NS_IMETHOD DidLayout(void); 
  54.  
  55. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  56. #define NS_FORWARD_NSIXTFVISUAL(_to) \
  57.   NS_IMETHOD GetVisualContent(nsIDOMElement * *aVisualContent) { return _to GetVisualContent(aVisualContent); } \
  58.   NS_IMETHOD GetInsertionPoint(nsIDOMElement * *aInsertionPoint) { return _to GetInsertionPoint(aInsertionPoint); } \
  59.   NS_IMETHOD GetApplyDocumentStyleSheets(PRBool *aApplyDocumentStyleSheets) { return _to GetApplyDocumentStyleSheets(aApplyDocumentStyleSheets); } \
  60.   NS_IMETHOD DidLayout(void) { return _to DidLayout(); } 
  61.  
  62. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  63. #define NS_FORWARD_SAFE_NSIXTFVISUAL(_to) \
  64.   NS_IMETHOD GetVisualContent(nsIDOMElement * *aVisualContent) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetVisualContent(aVisualContent); } \
  65.   NS_IMETHOD GetInsertionPoint(nsIDOMElement * *aInsertionPoint) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetInsertionPoint(aInsertionPoint); } \
  66.   NS_IMETHOD GetApplyDocumentStyleSheets(PRBool *aApplyDocumentStyleSheets) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetApplyDocumentStyleSheets(aApplyDocumentStyleSheets); } \
  67.   NS_IMETHOD DidLayout(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->DidLayout(); } 
  68.  
  69. #if 0
  70. /* Use the code below as a template for the implementation class for this interface. */
  71.  
  72. /* Header file */
  73. class nsXTFVisual : public nsIXTFVisual
  74. {
  75. public:
  76.   NS_DECL_ISUPPORTS
  77.   NS_DECL_NSIXTFVISUAL
  78.  
  79.   nsXTFVisual();
  80.  
  81. private:
  82.   ~nsXTFVisual();
  83.  
  84. protected:
  85.   /* additional members */
  86. };
  87.  
  88. /* Implementation file */
  89. NS_IMPL_ISUPPORTS1(nsXTFVisual, nsIXTFVisual)
  90.  
  91. nsXTFVisual::nsXTFVisual()
  92. {
  93.   /* member initializers and constructor code */
  94. }
  95.  
  96. nsXTFVisual::~nsXTFVisual()
  97. {
  98.   /* destructor code */
  99. }
  100.  
  101. /* readonly attribute nsIDOMElement visualContent; */
  102. NS_IMETHODIMP nsXTFVisual::GetVisualContent(nsIDOMElement * *aVisualContent)
  103. {
  104.     return NS_ERROR_NOT_IMPLEMENTED;
  105. }
  106.  
  107. /* readonly attribute nsIDOMElement insertionPoint; */
  108. NS_IMETHODIMP nsXTFVisual::GetInsertionPoint(nsIDOMElement * *aInsertionPoint)
  109. {
  110.     return NS_ERROR_NOT_IMPLEMENTED;
  111. }
  112.  
  113. /* readonly attribute boolean applyDocumentStyleSheets; */
  114. NS_IMETHODIMP nsXTFVisual::GetApplyDocumentStyleSheets(PRBool *aApplyDocumentStyleSheets)
  115. {
  116.     return NS_ERROR_NOT_IMPLEMENTED;
  117. }
  118.  
  119. /* void didLayout (); */
  120. NS_IMETHODIMP nsXTFVisual::DidLayout()
  121. {
  122.     return NS_ERROR_NOT_IMPLEMENTED;
  123. }
  124.  
  125. /* End of implementation class template. */
  126. #endif
  127.  
  128.  
  129. #endif /* __gen_nsIXTFVisual_h__ */
  130.